@charset "utf-8";
$fontSize:40;
@function r($p) {
    @return $p/$fontSize*1rem;
}
.news{
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
.news_tit{
    font-size: 30px;
    color: #ff6b08;
    margin: 40px 0;
    padding-left: 15px;
}
.hotnews_item{
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    margin-bottom: 92px;
    border-radius: 4px;
    border: solid 1px #eeeeee;
    img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        
    }
}
.hotnews_tit{
    background: rgba(44,45,46,0.6);
    height: 43px;
    width: 100%;
    color: white;
    font-size: 14px;
    text-align: center;
    line-height: 43px;
    position: absolute;
    bottom: 0;
}
.news_list{
    overflow: hidden;
    padding-bottom: 30px;
    border-bottom: 1px dashed #d4d4d4;
}
.news_img_border{
    border-radius: 4px;
    border: solid 1px #dddddd;
}
.news_img{
    margin: 5px;
    position: relative;
    height: 0;
    padding-top: 60%;
    overflow: hidden;
    img{
        position: absolute;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
}
.news_cont{
    color: #2a2a2a;
    margin-bottom: 43px;
    overflow: hidden;
    >p{
        padding-bottom: 17px;
        a{
            font-size: 18px;
            color: #2a2a2a;
        }
    } 
    >p a:hover{
        color: #ff6900;
        text-decoration: none;
    }
}
.news_date{
    font-size: 14px;
    margin-bottom: 22px;
}
.news_summary{
    font-size: 14px;
    margin-bottom: 17px;
}
.news_btn a{
    display: block;
    width: 98px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    color: #ff6900;
    border-radius: 15px;
    border: solid 1px #ff6900;
    float: right;
    font-size: 14px;
}
.news_btn a:hover{
    background-color: #ff6900;
    color: white;
}
.news_page{
    display: flex;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 25px;
    >li a{
        color: #2a2a2a;
        font-size: 14px;
    }
    >li:hover a{
        background-color: #e34637;
        color: white;
    }
}
.newspage_active a{
    background-color: #e34637!important;
    border-color: #ddd!important;
}
@media only screen and (max-width: 768px){
    .news{
        width: 100%;
    }
    .news_tit{
        font-size: 20px;
        margin: 20px 0;
    }
    .hotnews_item{
        margin-bottom: 42px;
    }
    .news_date{
        margin-bottom: 0;
        float: left;
    }
    .news_list{
        padding-bottom: 0;
    }
}
